<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>

<script>
	// var num = 0.4;
	var num = 0.5;
	
	console.log(Math.ceil(num));
	console.log(Math.floor(num));
	console.log(Math.round(num));
	
</script>
</body>
</html>